package com.fa4j.product.stock.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 订单锁定库存项
 */
@Data
public class StockOrderLockItem {

    @Schema(description = "商品ID")
    private Integer itemId;

    @Schema(description = "商品规格ID")
    private Integer specId;

    @Schema(description = "库存数量")
    private BigDecimal quantity;

    @Schema(description = "库存ID")
    private Long stockId;
}
